commakaze
commakaze
  • Threads: 1
  • Posts: 3
Joined: Jan 8, 2025
June 27th, 2026 at 1:30:02 PM permalink
Sorry if this is not the proper place to post this but I wanted to know. I followed along with the Wizard's C++ blackjack program and reproduced it. I'm not a coder but I'm trying to learn a bit.
I managed to learn enough to modify it to work with doubling after splitting. Now, I've been trying to change it from ENHC to peak but I'm having trouble trying to figure this one out.
Any advice would be appreciated!
Thank you!
KevinAA
KevinAA
  • Threads: 22
  • Posts: 556
Joined: Jul 6, 2017
June 27th, 2026 at 8:24:41 PM permalink
Quote: commakaze

Sorry if this is not the proper place to post this but I wanted to know. I followed along with the Wizard's C++ blackjack program and reproduced it. I'm not a coder but I'm trying to learn a bit.
I managed to learn enough to modify it to work with doubling after splitting. Now, I've been trying to change it from ENHC to peak but I'm having trouble trying to figure this one out.
Any advice would be appreciated!
Thank you!
link to original post



Probability the dealer has blackjack times -1 (i.e. player loses)

plus

Probability the dealer does not have blackjack times expected value of the player's hand given the dealer does not have blackjack... meaning, when going through all possible hole cards, you pretend that the 10 (or ace, whatever creates dealer bj) doesn't exist
commakaze
commakaze
  • Threads: 1
  • Posts: 3
Joined: Jan 8, 2025
June 29th, 2026 at 1:29:58 PM permalink
Thank you for the response. With some messing around, I managed to get the dealer probabilities for ten or ace up to match very close to the ones listed here:

/games/blackjack/dealer-odds-blackjack-us-rules/

(Wizard of Odds website, 6 deck, S17)
My probs are within about 0.001 - 0.004 difference. I read one of your threads about an exact analysis you were trying to do and that some of your numbers didn't quite match. Did you ever run into this problem?
Last edited by: commakaze on Jun 29, 2026
KevinAA
KevinAA
  • Threads: 22
  • Posts: 556
Joined: Jul 6, 2017
Thanked by
harris
June 29th, 2026 at 4:18:42 PM permalink
Quote: commakaze

Thank you for the response. With some messing around, I managed to get the dealer probabilities for ten or ace up to match very close to the ones listed here:

/games/blackjack/dealer-odds-blackjack-us-rules/

(Wizard of Odds website, 6 deck, S17)
My probs are within about 0.001 - 0.004 difference. I read one of your threads about an exact analysis you were trying to do and that some of your numbers didn't quite match. Did you ever run into this problem?
link to original post



I did. I gave up trying to figure it out. The weather is too nice. :)
  • Jump to: